package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

@TableName("agriProduct")
@Data
public class AgriProduct {

    @MppMultiId//设置主键
    private Integer agriId;
    private String name;
    private String kind;
    private String handleDate;
    private double inventory;
    private String inventoryAdd;
    private String deadline;
    private String note;
    @MppMultiId
    private Integer tenantId;

    public AgriProduct(Integer agriId, String name, String kind, String handleDate, double inventory, String inventoryAdd, String deadline, String note, Integer tenantId) {
        this.agriId = agriId;
        this.name = name;
        this.kind = kind;
        this.handleDate = handleDate;
        this.inventory = inventory;
        this.inventoryAdd = inventoryAdd;
        this.deadline = deadline;
        this.note = note;
        this.tenantId = tenantId;
    }

    public AgriProduct() {
    }

    public Integer getAgriId() {
        return agriId;
    }

    public void setAgriId(Integer agriId) {
        this.agriId = agriId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public String getHandleDate() {
        return handleDate;
    }

    public void setHandleDate(String handleDate) {
        this.handleDate = handleDate;
    }

    public double getInventory() {
        return inventory;
    }

    public void setInventory(double inventory) {
        this.inventory = inventory;
    }

    public String getInventoryAdd() {
        return inventoryAdd;
    }

    public void setInventoryAdd(String inventoryAdd) {
        this.inventoryAdd = inventoryAdd;
    }

    public String getDeadline() {
        return deadline;
    }

    public void setDeadline(String deadline) {
        this.deadline = deadline;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Integer getTenantId() {
        return tenantId;
    }

    public void setTenantId(Integer tenantId) {
        this.tenantId = tenantId;
    }
}
